package com.hs.single;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 使用了 @MapperScan 注解那么我们的mapper接口中就不需要再加@Mapper注解了
 * @Description: TODO
 * @Author 胡尚
 * @Date: 2024/8/2 9:49
 */
@SpringBootApplication
@MapperScan("com.hs.single.mapper")
public class DruidApplication {
    public static void main(String[] args) {
        SpringApplication.run(DruidApplication.class, args);
    }
}
